# frozen_string_literal: true

require "spec_helper"
require "./lib/fusuma/plugin/events/records/gesture_record"

module Fusuma
  module Plugin
    module Events
      module Records
        RSpec.describe GestureRecord do
          let(:record) do
            described_class.new(status: "updating",
              gesture: "swipe",
              finger: 3,
              direction: direction)
          end
          let(:direction) { GestureRecord::Delta.new(0, 0, 1, 0) }
        end
      end
    end
  end
end
